from aiogram.types import (
    InlineKeyboardButton,
    InlineKeyboardMarkup,
    KeyboardButton,
    ReplyKeyboardMarkup,
    ReplyKeyboardRemove,
)

"""
Клавиатура ниже нужна для возврата на предыдущий пункт в процессе заполнения анкеты по любому документу
Варианты использования:
    1. Целиком передавать back_kb
    2. Добавлять обычную кнопку back_button в уже существующую клавиатуру
    3. Добавлять inline кнопку back_button_inline в уже существующую inline клавиатуру
"""
back_kb = ReplyKeyboardMarkup(resize_keyboard=True)
back_button = KeyboardButton(text="Назад ◀️")
back_button_inline = InlineKeyboardButton(text="Назад ◀️", callback_data="ar_Назад ◀️")
back_kb.add(back_button)

kb_delete = ReplyKeyboardRemove()

cancelledKeyboard = ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
cancelKeyboard = KeyboardButton("Назад ◀️")
cancelledKeyboard.add(cancelKeyboard)

britishKb = ReplyKeyboardMarkup(one_time_keyboard=True, resize_keyboard=True)
britishKbButton = KeyboardButton("British citizen")
britishKb.add(britishKbButton)


cancel = KeyboardButton("Отменить")
kb_cancel = ReplyKeyboardMarkup(resize_keyboard=True)
kb_cancel.insert(cancel)


create = KeyboardButton("Создать документ 📄")
personal_cabinet = KeyboardButton("Личный кабинет 💼")
kb_choice = ReplyKeyboardMarkup(resize_keyboard=True)
kb_choice.add(create).add(personal_cabinet)


top_up_balance = InlineKeyboardButton(
    text="Пополнить баланс", callback_data="top_up_balance"
)
top_up_subscription = InlineKeyboardButton(
    text="Купить подписку", callback_data="top_up_subscription"
)
top_up_exit = InlineKeyboardButton(text="Выйти в меню", callback_data="exit")
kb_top_up_balance = InlineKeyboardMarkup(row_width=1)
kb_top_up_balance.add(top_up_balance, top_up_subscription, top_up_exit)


sub_type_week = InlineKeyboardButton(text="Неделя", callback_data="sub_type_week")
sub_type_mounth = InlineKeyboardButton(text="Месяц", callback_data="sub_type_mounth")
kb_choise_sub_type = InlineKeyboardMarkup(row_width=1)
kb_choise_sub_type.add(sub_type_week, sub_type_mounth)


give_promo = InlineKeyboardButton(text="Ввести промокод 💰", callback_data="give_promo")
pass_promo = InlineKeyboardButton(text="Пропустить", callback_data="pass_promo")
kb_inline_promo = InlineKeyboardMarkup(row_width=2)
kb_inline_promo.add(give_promo, pass_promo)


choice_qiwi = InlineKeyboardButton(text="Карта (QIWI)", callback_data="choice_qiwi")
choice_crypto = InlineKeyboardButton(
    text="Оплатить USDT", callback_data="choice_crypto"
)
choice_exit = InlineKeyboardButton(text="Выйти в меню", callback_data="exit")
kb_choise_pay = InlineKeyboardMarkup(row_width=2)
kb_choise_pay.add(choice_qiwi, choice_crypto, choice_exit)


pay_with_balance = InlineKeyboardButton(
    text="Приобрести", callback_data="pay_with_balance"
)
exit_menu = InlineKeyboardButton(text="Выйти", callback_data="exit")
kb_go_pay_with_balance = InlineKeyboardMarkup(row_width=2)
kb_go_pay_with_balance.add(pay_with_balance, exit_menu)

pay_with_balance_sub = InlineKeyboardButton(
    text="Приобрести", callback_data="pay_with_balance_sub"
)
exit_menu = InlineKeyboardButton(text="Выйти", callback_data="exit")
kb_payed_with_balance_sub = InlineKeyboardMarkup(row_width=2)
kb_payed_with_balance_sub.add(pay_with_balance_sub, exit_menu)


def buy_menu_subscription_qiwi(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        qiwiMenu.add(btnUrlQiwi)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="sqcheck_" + bill
    )
    btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


def buy_menu_subscription_crypto(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        btnUrlsupport = InlineKeyboardButton(
            text="Инструкция", url="https://telegra.ph/Instrukciya-po-oplate-USDT-04-01"
        )
        qiwiMenu.add(btnUrlQiwi, btnUrlsupport)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="sccheck_" + str(bill)
    )
    # btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


def buy_menu_balance_qiwi(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        qiwiMenu.add(btnUrlQiwi)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="bqcheck_" + bill
    )
    # btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


def buy_menu_balance_crypto(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        btnUrlsupport = InlineKeyboardButton(
            text="Инструкция", url="https://telegra.ph/Instrukciya-po-oplate-USDT-04-01"
        )
        qiwiMenu.add(btnUrlQiwi, btnUrlsupport)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="bccheck_" + str(bill)
    )
    # btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


def buy_menu_week(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        qiwiMenu.add(btnUrlQiwi)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="wkcheck_" + bill
    )
    # btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


def buy_menu_crypto(isUrl=True, url="", bill=""):
    qiwiMenu = InlineKeyboardMarkup(row_width=1)
    if isUrl:
        btnUrlQiwi = InlineKeyboardButton(text="Оплатить", url=url)
        btnUrlsupport = InlineKeyboardButton(
            text="Инструкция", url="https://telegra.ph/Instrukciya-po-oplate-USDT-04-01"
        )
        qiwiMenu.add(btnUrlQiwi, btnUrlsupport)

    btnCheckQiwi = InlineKeyboardButton(
        text="Проверить оплату", callback_data="crcheck_" + str(bill)
    )
    # btnExit = InlineKeyboardButton(text="Вернуться в ЛК", callback_data="exit_lk")
    qiwiMenu.insert(btnCheckQiwi)
    return qiwiMenu


#################################################################################
#################################################ukbill
skip = KeyboardButton("Пропустить")
kb_skip = ReplyKeyboardMarkup(resize_keyboard=True)
kb_skip.add(skip)

uk_pay_bill = InlineKeyboardButton(text="Получить", callback_data="uk_pay_bill")
uk_change_bill = InlineKeyboardButton(text="Изменить", callback_data="uk_change_bill")
uk_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="uk_exit_bill")
kb_uk_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_uk_finish_bill.add(uk_pay_bill, uk_change_bill, uk_exit_bill)

uk_change_fam = InlineKeyboardButton(text="Фамилия", callback_data="uk_change_fam")
uk_change_name = InlineKeyboardButton(text="Имя", callback_data="uk_change_name")
uk_change_date_birth = InlineKeyboardButton(
    text="Дата рождения", callback_data="uk_change_date_birth"
)
uk_change_pass_number = InlineKeyboardButton(
    text="Номер паспорта", callback_data="uk_change_pass_number"
)
uk_change_natcion = InlineKeyboardButton(
    text="Национальность", callback_data="uk_change_natcion"
)
uk_change_place_birth = InlineKeyboardButton(
    text="Место рождения", callback_data="uk_change_place_birth"
)
uk_change_gender = InlineKeyboardButton(text="Пол", callback_data="uk_change_gender")
uk_change_date_doc = InlineKeyboardButton(
    text="Дата выдачи", callback_data="uk_change_date_doc"
)
uk_change_photo = InlineKeyboardButton(
    text="Фотография", callback_data="uk_change_photo"
)
uk_change_signature = InlineKeyboardButton(
    text="Подпись", callback_data="uk_change_signature"
)
uk_change_holo = InlineKeyboardButton(text="Галограмма", callback_data="uk_change_holo")
uk_change_size_doc = InlineKeyboardButton(
    text="Размер документа", callback_data="uk_change_size_doc"
)
kb_uk_change_go = InlineKeyboardMarkup(row_width=1)
kb_uk_change_go.add(
    uk_change_fam,
    uk_change_name,
    uk_change_date_birth,
    uk_change_pass_number,
    uk_change_natcion,
    uk_change_place_birth,
    uk_change_gender,
    uk_change_date_doc,
    uk_change_photo,
    uk_change_signature,
    uk_change_holo,
    uk_change_size_doc,
)
#################################################

uk = KeyboardButton("UK 🇬🇧")
ar = KeyboardButton("Argentina 🇦🇷")
br = KeyboardButton("Brazil 🇧🇷")
mx = KeyboardButton("Mexico 🇲🇽")
it = KeyboardButton("Italy 🇮🇹")
es = KeyboardButton("Spain 🇪🇸")
kz = KeyboardButton("Kazakhstan 🇰🇿")
ee = KeyboardButton("Estonia 🇪🇪")
de = KeyboardButton("Germany 🇩🇪")
back_to_menu = KeyboardButton("Вернутся в меню ◀️")
kb_counries = ReplyKeyboardMarkup(resize_keyboard=True)
kb_counries.add(uk, ar, br, mx, it, es, kz, ee).row(back_to_menu)
ar = KeyboardButton("Argentina 🇦🇷")
# de = KeyboardButton('Germany 🇩🇪')
back_to_menu = KeyboardButton("Вернутся в меню ◀️")
kb_counries = ReplyKeyboardMarkup(resize_keyboard=True)
kb_counries.add(uk, ar, br, mx, it, es, ee, de, kz).row(back_to_menu)


uk_pass = KeyboardButton("PASS NEW 🇬🇧")
uk_bill = KeyboardButton("BILL 🇬🇧")
back_button = KeyboardButton(text="Назад ◀️")
kb_uk = ReplyKeyboardMarkup(resize_keyboard=True)
kb_uk.add(uk_pass, uk_bill).add(back_button)


uk_pass_number = KeyboardButton("Сгенерировать")
kb_uk_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
kb_uk_pass_number.add(uk_pass_number)

uk_change_pass_number = KeyboardButton("Сгeнeрировать")
kb_uk_change_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
kb_uk_change_pass_number.add(uk_change_pass_number)


uk_pass_gender_m = KeyboardButton("Мужской 🙎🏻‍♂️")
uk_pass_gender_w = KeyboardButton("Женский 🙍🏻‍♀️")
kb_uk_pass_gender = ReplyKeyboardMarkup(resize_keyboard=True)
kb_uk_pass_gender.add(uk_pass_gender_m).add(uk_pass_gender_w)


apply = InlineKeyboardButton(text="Продолжить", callback_data="apply")
kb_inline_apply = InlineKeyboardMarkup(row_width=1)
kb_inline_apply.add(apply)


uk_pass_signature_1 = InlineKeyboardButton(text="1", callback_data="signature_1")
uk_pass_signature_2 = InlineKeyboardButton(text="2", callback_data="signature_2")
uk_pass_signature_3 = InlineKeyboardButton(text="3", callback_data="signature_3")
uk_pass_signature_4 = InlineKeyboardButton(text="4", callback_data="signature_4")
uk_pass_signature_5 = InlineKeyboardButton(text="5", callback_data="signature_5")
uk_pass_signature_6 = InlineKeyboardButton(text="6", callback_data="signature_6")
uk_pass_signature_pass = InlineKeyboardButton(
    text="Не ставить подпись", callback_data="signature_pass"
)
kb_inline_uk_pass_signature = InlineKeyboardMarkup(row_width=3)
kb_inline_uk_pass_signature.add(
    uk_pass_signature_1,
    uk_pass_signature_2,
    uk_pass_signature_3,
    uk_pass_signature_4,
    uk_pass_signature_5,
    uk_pass_signature_6,
    uk_pass_signature_pass,
)


uk_pass_holo1 = InlineKeyboardButton(text="1", callback_data="holo_1")
uk_pass_holo2 = InlineKeyboardButton(text="2", callback_data="holo_2")
uk_pass_holo3 = InlineKeyboardButton(text="3", callback_data="holo_3")
uk_pass_holo_pass = InlineKeyboardButton(text="Не ставить", callback_data="holo_pass")
kb_inline_uk_pass_holo = InlineKeyboardMarkup(row_width=3)
kb_inline_uk_pass_holo.add(
    uk_pass_holo1, uk_pass_holo2, uk_pass_holo3, uk_pass_holo_pass
)


uk_pass_size_list = KeyboardButton("📄 На листе A4")
uk_pass_size_doc = KeyboardButton("🪪 В размер документа")
uk_pass_size_background = KeyboardButton("🖼 На фоне")
kb_uk_pass_size = ReplyKeyboardMarkup(resize_keyboard=True)
kb_uk_pass_size.add(uk_pass_size_list).add(uk_pass_size_doc).add(
    uk_pass_size_background
)


uk_change = InlineKeyboardButton(text="Изменить", callback_data="uk_change")
uk_exit = InlineKeyboardButton(text="Выйти", callback_data="uk_exit")
kb_uk_change_error = InlineKeyboardMarkup(row_width=1)
kb_uk_change_error.add(uk_change, uk_exit)


uk_pay = InlineKeyboardButton(text="Получить", callback_data="uk_pay")
uk_change = InlineKeyboardButton(text="Изменить", callback_data="uk_change")
uk_exit = InlineKeyboardButton(text="Выйти", callback_data="uk_exit")
kb_uk_finish = InlineKeyboardMarkup(row_width=1)
kb_uk_finish.add(uk_pay, uk_change, uk_exit)


uk_change_fam_bill = InlineKeyboardButton(
    text="Фамилия", callback_data="uk_change_bill_family"
)
uk_change_name_bill = InlineKeyboardButton(
    text="Имя", callback_data="uk_change_bill_name"
)
uk_change_bill_flate_number = InlineKeyboardButton(
    text="Номер дома", callback_data="uk_change_bill_flate_number"
)
uk_change_bill_street = InlineKeyboardButton(
    text="Улица", callback_data="uk_change_bill_street"
)
uk_change_name_bill_city = InlineKeyboardButton(
    text="Город", callback_data="uk_change_name_bill_city"
)
uk_change_bill_postcode = InlineKeyboardButton(
    text="Посткод", callback_data="uk_change_bill_postcode"
)
kb_uk_change_go_bill = InlineKeyboardMarkup(row_width=1)
kb_uk_change_go_bill.add(
    uk_change_fam_bill,
    uk_change_name_bill,
    uk_change_bill_flate_number,
    uk_change_bill_street,
    uk_change_name_bill_city,
    uk_change_bill_postcode,
)

################################argentina

# back_button_prev = KeyboardButton(text='Назад ◀️')
# ar_pass = KeyboardButton('PASS 🇦🇷')
# kb_ar = ReplyKeyboardMarkup(resize_keyboard=True)
# kb_ar.add(ar_pass).add(back_button)


# ar_pass_number = KeyboardButton('Сгенерировать')
# kb_ar_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
# kb_ar_pass_number.add(ar_pass_number).add(back_button_prev)

# ar_change_pass_number = KeyboardButton('Сгeнeрировать')
# kb_ar_change_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
# kb_ar_change_pass_number.add(ar_change_pass_number).add(back_button_prev)


# ar_pass_gender_m = KeyboardButton('Мужской 🙎🏻‍♂️')
# ar_pass_gender_w = KeyboardButton('Женский 🙍🏻‍♀️')
# kb_ar_pass_gender = ReplyKeyboardMarkup(resize_keyboard=True)
# kb_ar_pass_gender.add(ar_pass_gender_m).add(ar_pass_gender_w).add(back_button_prev)


ar_pass_signature_1 = InlineKeyboardButton(text="1", callback_data="signature_1")
ar_pass_signature_2 = InlineKeyboardButton(text="2", callback_data="signature_2")
ar_pass_signature_3 = InlineKeyboardButton(text="3", callback_data="signature_3")
ar_pass_signature_4 = InlineKeyboardButton(text="4", callback_data="signature_4")
ar_pass_signature_5 = InlineKeyboardButton(text="5", callback_data="signature_5")
ar_pass_signature_6 = InlineKeyboardButton(text="6", callback_data="signature_6")
ar_pass_signature_pass = InlineKeyboardButton(
    text="Не ставить подпись", callback_data="signature_pass"
)
kb_inline_ar_pass_signature = InlineKeyboardMarkup(row_width=3)
kb_inline_ar_pass_signature.add(
    ar_pass_signature_1,
    ar_pass_signature_2,
    ar_pass_signature_3,
    ar_pass_signature_4,
    ar_pass_signature_5,
    ar_pass_signature_6,
    ar_pass_signature_pass,
)
kb_inline_ar_pass_signature.add(back_button_inline)


ar_pass_size_list = KeyboardButton("📄 На листе A4")
ar_pass_size_doc = KeyboardButton("🪪 В размер документа")
ar_pass_size_background = KeyboardButton("🖼 На фоне")
kb_ar_pass_size = ReplyKeyboardMarkup(resize_keyboard=True)
kb_ar_pass_size.add(ar_pass_size_list).add(ar_pass_size_doc).add(
    ar_pass_size_background
)


ar_change = InlineKeyboardButton(text="Изменить", callback_data="ar_change")
ar_exit = InlineKeyboardButton(text="Выйти", callback_data="ar_exit")
kb_ar_change_error = InlineKeyboardMarkup(row_width=1)
kb_ar_change_error.add(ar_change, ar_exit)


ar_pay = InlineKeyboardButton(text="Получить", callback_data="ar_pay")
ar_change = InlineKeyboardButton(text="Изменить", callback_data="ar_change")
ar_exit = InlineKeyboardButton(text="Выйти", callback_data="ar_exit")
kb_ar_finish = InlineKeyboardMarkup(row_width=1)
kb_ar_finish.add(ar_pay, ar_change, ar_exit)


ar_change_fam = InlineKeyboardButton(text="Фамилия", callback_data="ar_change_fam")
ar_change_name = InlineKeyboardButton(text="Имя", callback_data="ar_change_name")
ar_change_date_birth = InlineKeyboardButton(
    text="Дата рождения", callback_data="ar_change_date_birth"
)
ar_change_pass_number = InlineKeyboardButton(
    text="Номер паспорта", callback_data="ar_change_pass_number"
)
ar_change_natcion = InlineKeyboardButton(
    text="Национальность", callback_data="ar_change_natcion"
)
ar_change_place_birth = InlineKeyboardButton(
    text="Место рождения", callback_data="ar_change_place_birth"
)
ar_change_gender = InlineKeyboardButton(text="Пол", callback_data="ar_change_gender")
ar_change_date_doc = InlineKeyboardButton(
    text="Дата выдачи", callback_data="ar_change_date_doc"
)
ar_change_photo = InlineKeyboardButton(
    text="Фотография", callback_data="ar_change_photo"
)
ar_change_signature = InlineKeyboardButton(
    text="Подпись", callback_data="ar_change_signature"
)
ar_change_size_doc = InlineKeyboardButton(
    text="Размер документа", callback_data="ar_change_size_doc"
)
kb_ar_change_go = InlineKeyboardMarkup(row_width=1)
kb_ar_change_go.add(
    ar_change_fam,
    ar_change_name,
    ar_change_date_birth,
    ar_change_pass_number,
    ar_change_natcion,
    ar_change_place_birth,
    ar_change_gender,
    ar_change_date_doc,
    ar_change_photo,
    ar_change_signature,
    ar_change_size_doc,
)


###########brazil
br_id = KeyboardButton("ID 🇧🇷")
br_bill = KeyboardButton("BILL 🇧🇷")
br_dl = KeyboardButton("DL 🇧🇷")
br_pass = KeyboardButton("PASS 🇧🇷")
br_cancel = KeyboardButton(text="Назад ◀️")
kb_br = ReplyKeyboardMarkup(resize_keyboard=True)
kb_br.add(br_id, br_bill, br_dl, br_pass).add(br_cancel)

br_pay_dl = InlineKeyboardButton(text="Получить", callback_data="br_pay_dl")
br_change_dl = InlineKeyboardButton(text="Изменить", callback_data="br_change_dl")
br_exit_dl = InlineKeyboardButton(text="Выйти", callback_data="br_exit_dl")
kb_br_finish_dl = InlineKeyboardMarkup(row_width=1)
kb_br_finish_dl.add(br_pay_dl, br_change_dl, br_exit_dl)

####bill brazil

br_pass_pay = InlineKeyboardButton(text="Получить", callback_data="br_pass_pay")
br_pass_change = InlineKeyboardButton(text="Изменить", callback_data="br_pass_change")
kb_br_finish_pass = InlineKeyboardMarkup(row_width=1)
kb_br_finish_pass.add(br_pass_pay, br_pass_change, uk_exit)

####bill brazil

br_pay_bill = InlineKeyboardButton(text="Получить", callback_data="br_pay_bill")
br_change_bill = InlineKeyboardButton(text="Изменить", callback_data="br_change_bill")
kb_br_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_br_finish_bill.add(br_pay_bill, br_change_bill, uk_exit)


br_change = InlineKeyboardButton(text="Изменить", callback_data="br_change")
kb_br_change_error = InlineKeyboardMarkup(row_width=1)
kb_br_change_error.add(br_change, uk_exit)


br_pay_bill = InlineKeyboardButton(text="Получить", callback_data="br_pay_bill")
br_change_bill = InlineKeyboardButton(text="Изменить", callback_data="br_change_bill")
kb_br_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_br_finish_bill.add(br_pay_bill, br_change_bill, uk_exit)


br_change_fam_bill = InlineKeyboardButton(
    text="Фамилия", callback_data="br_change_bill_family"
)
br_change_name_bill = InlineKeyboardButton(
    text="Имя", callback_data="br_change_bill_name"
)
br_change_bill_flate_number = InlineKeyboardButton(
    text="Номер дома", callback_data="br_change_bill_flate_number"
)
br_change_bill_street = InlineKeyboardButton(
    text="Улица", callback_data="br_change_bill_street"
)
br_change_name_bill_city = InlineKeyboardButton(
    text="Город", callback_data="br_change_name_bill_city"
)
br_change_bill_postcode = InlineKeyboardButton(
    text="Посткод", callback_data="br_change_bill_postcode"
)
kb_br_change_go_bill = InlineKeyboardMarkup(row_width=1)
kb_br_change_go_bill.add(
    br_change_fam_bill,
    br_change_name_bill,
    br_change_bill_flate_number,
    br_change_bill_street,
    br_change_name_bill_city,
    br_change_bill_postcode,
)

####idbrazil

br_id_pass_number = KeyboardButton("Сгенерировать")
kb_br_id_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
kb_br_id_pass_number.add(br_id_pass_number)


br_id_change_pass_number = KeyboardButton("Сгeнeрировать")
kb_br_id_change_pass_number = ReplyKeyboardMarkup(resize_keyboard=True)
kb_br_id_change_pass_number.add(br_id_change_pass_number)


br_pass_signature_1 = InlineKeyboardButton(text="1", callback_data="signature_1")
br_pass_signature_2 = InlineKeyboardButton(text="2", callback_data="signature_2")
br_pass_signature_3 = InlineKeyboardButton(text="3", callback_data="signature_3")
br_pass_signature_4 = InlineKeyboardButton(text="4", callback_data="signature_4")
br_pass_signature_5 = InlineKeyboardButton(text="5", callback_data="signature_5")
br_pass_signature_6 = InlineKeyboardButton(text="6", callback_data="signature_6")
br_pass_signature_pass = InlineKeyboardButton(
    text="Не ставить подпись", callback_data="signature_pass"
)
kb_inline_br_pass_signature = InlineKeyboardMarkup(row_width=3)
kb_inline_br_pass_signature.add(
    br_pass_signature_1,
    br_pass_signature_2,
    br_pass_signature_3,
    br_pass_signature_4,
    br_pass_signature_5,
    br_pass_signature_6,
    br_pass_signature_pass,
)


br_id_size_list = KeyboardButton("📄 На листе A4")
br_id_size_doc = KeyboardButton("🪪 В размер документа")
br_id_size_background = KeyboardButton("🖼 На фоне")
kb_br_id_size = ReplyKeyboardMarkup(resize_keyboard=True)
kb_br_id_size.add(br_id_size_list).add(br_id_size_doc)

br_change = InlineKeyboardButton(text="Изменить", callback_data="br_change")
kb_br_change_error = InlineKeyboardMarkup(row_width=1)
kb_br_change_error.add(br_change, uk_exit)

br_pay_id = InlineKeyboardButton(text="Получить", callback_data="br_pay_id")
br_change_id = InlineKeyboardButton(text="Изменить", callback_data="br_change_id")
kb_br_finish_id = InlineKeyboardMarkup(row_width=1)
kb_br_finish_id.add(br_pay_id, br_change_id, uk_exit)

br_change_name_id = InlineKeyboardButton(text="Имя", callback_data="br_change_id_name")
br_change_family_id = InlineKeyboardButton(
    text="Фамилия", callback_data="br_change_id_family"
)
br_change_name_father_id = InlineKeyboardButton(
    text="ФИО отца", callback_data="br_change_id_name_father"
)
br_change_name_mother_id = InlineKeyboardButton(
    text="ФИО матери", callback_data="br_change_id_name_mother"
)
br_change_date_birth_id = InlineKeyboardButton(
    text="Дата рождения", callback_data="br_change_id_date_birth"
)
br_change_place_birth_id = InlineKeyboardButton(
    text="Место рождения", callback_data="br_change_id_place_birth"
)
br_change_pass_number_id = InlineKeyboardButton(
    text="Номер паспорта (RG)", callback_data="br_change_id_pass_number"
)
br_change_pass_number_cpf_id = InlineKeyboardButton(
    text="Номер паспорта (CPF)", callback_data="br_change_id_pass_number_cpf"
)
br_change_date_doc_id = InlineKeyboardButton(
    text="Дата выдачи", callback_data="br_change_id_date_doc"
)
br_change_place_doc_id = InlineKeyboardButton(
    text="Место выдачи", callback_data="br_change_id_place_doc"
)
br_change_photo_id = InlineKeyboardButton(
    text="Фотография", callback_data="br_change_id_photo"
)
br_change_signature_id = InlineKeyboardButton(
    text="Подпись", callback_data="br_change_id_signature"
)
br_change_size_id = InlineKeyboardButton(
    text="Размер документа", callback_data="br_change_id_size"
)
kb_br_change_go_id = InlineKeyboardMarkup(row_width=1)
kb_br_change_go_id.add(
    br_change_name_id,
    br_change_family_id,
    br_change_name_father_id,
    br_change_name_mother_id,
    br_change_date_birth_id,
    br_change_place_birth_id,
    br_change_pass_number_id,
    br_change_pass_number_cpf_id,
    br_change_date_doc_id,
    br_change_place_doc_id,
    br_change_photo_id,
    br_change_signature_id,
    br_change_size_id,
)


###########italy

italy_bill = KeyboardButton("BILL 🇮🇹")
italy_id = KeyboardButton("ID 🇮🇹")
italy_dl = KeyboardButton("DL 🇮🇹")
kb_it = ReplyKeyboardMarkup(resize_keyboard=True)
kb_it.add(italy_id).insert(italy_bill).add(italy_dl)


it_pay_bill = InlineKeyboardButton(text="Получить", callback_data="it_pay_bill")
it_change_bill = InlineKeyboardButton(text="Изменить", callback_data="it_change_bill")
it_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="it_exit_bill")
kb_it_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_it_finish_bill.add(it_pay_bill, it_change_bill, it_exit_bill)

it_pay_id = InlineKeyboardButton(text="Получить", callback_data="it_pay_id")
it_change_id = InlineKeyboardButton(text="Изменить", callback_data="it_change_id")
it_exit_id = InlineKeyboardButton(text="Выйти", callback_data="it_exit_id")
kb_it_finish_id = InlineKeyboardMarkup(row_width=1)
kb_it_finish_id.add(it_pay_id, it_change_id, it_exit_id)

it_pay_dl = InlineKeyboardButton(text="Получить", callback_data="it_pay_dl")
it_change_dl = InlineKeyboardButton(text="Изменить", callback_data="it_change_dl")
it_exit_dl = InlineKeyboardButton(text="Выйти", callback_data="it_exit_dl")
kb_it_finish_dl = InlineKeyboardMarkup(row_width=1)
kb_it_finish_dl.add(it_pay_dl, it_change_dl, it_exit_dl)


# spain
spain_passport = KeyboardButton("PASS 🇪🇸")
spain_id = KeyboardButton("ID 🇪🇸")
kb_es = ReplyKeyboardMarkup(resize_keyboard=True)
kb_es.add(spain_passport, spain_id).add(back_button)

es_back_kb = ReplyKeyboardMarkup(resize_keyboard=True)
es_back_button = KeyboardButton(text="Назад ◀️")
es_back_kb.add(es_back_button)

generate_number_button = KeyboardButton("Сгенерировать")
es_generate_number = ReplyKeyboardMarkup(resize_keyboard=True)
es_generate_number.add(generate_number_button, es_back_button)

national_button = KeyboardButton("ESP")
es_national_number = ReplyKeyboardMarkup(resize_keyboard=True)
es_national_number.add(national_button, es_back_button)

country_button = KeyboardButton("España")
es_country = ReplyKeyboardMarkup(resize_keyboard=True)
es_country.add(country_button, es_back_button)

nat_button = KeyboardButton("Española")
es_nat = ReplyKeyboardMarkup(resize_keyboard=True)
es_nat.add(nat_button, es_back_button)

five_button = KeyboardButton("5 лет")
ten_button = KeyboardButton("10 лет")
es_validity_id = ReplyKeyboardMarkup(resize_keyboard=True)
es_validity_id.add(five_button, ten_button, es_back_button)

es_pass_gender_m = KeyboardButton("Мужской 🙎🏻‍♂️")
es_pass_gender_w = KeyboardButton("Женский 🙍🏻‍♀️")
kb_es_pass_gender = ReplyKeyboardMarkup(resize_keyboard=True)
kb_es_pass_gender.add(es_pass_gender_m, es_pass_gender_w, es_back_button)

es_size = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
es_size.add(KeyboardButton("📄На листе A4"))
es_size.add(KeyboardButton("🪪В размер документа"))
es_size.add(KeyboardButton("🖼На фоне"))
es_size.add(es_back_button)

es_size_id = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
es_size_id.add(KeyboardButton("📄На листе A4"))
es_size_id.add(KeyboardButton("🪪В размер документа"))
es_size_id.add(es_back_button)

es_pay_bill = InlineKeyboardButton(text="Получить", callback_data="es_pay_bill")
es_change_bill = InlineKeyboardButton(text="Изменить", callback_data="es_change_bill")
es_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="es_exit_bill")
kb_es_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_es_finish_bill.add(es_pay_bill, es_change_bill, es_exit_bill)

es_pay_passport = InlineKeyboardButton(text="Получить", callback_data="es_pay_passport")
es_change_passport = InlineKeyboardButton(
    text="Изменить", callback_data="es_change_passport"
)
es_exit_passport = InlineKeyboardButton(text="Выйти", callback_data="es_exit_passport")
kb_es_finish_passport = InlineKeyboardMarkup(row_width=1)
kb_es_finish_passport.add(es_pay_passport, es_change_passport, es_exit_passport)

es_pay_id = InlineKeyboardButton(text="Получить", callback_data="es_pay_id")
es_change_id = InlineKeyboardButton(text="Изменить", callback_data="es_change_id")
es_exit_id = InlineKeyboardButton(text="Выйти", callback_data="es_exit_id")
kb_es_finish_id = InlineKeyboardMarkup(row_width=1)
kb_es_finish_id.add(es_pay_id, es_change_id, es_exit_id)

###########mexico

mx_pay_bill = InlineKeyboardButton(text="Получить", callback_data="mx_pay_bill")
mx_change_bill = InlineKeyboardButton(text="Изменить", callback_data="mx_change_bill")
mx_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="mx_exit_bill")
kb_mx_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_mx_finish_bill.add(mx_pay_bill, mx_change_bill, mx_exit_bill)

mx_bill = KeyboardButton("BILL 🇲🇽")
mx_pass = KeyboardButton("PASS 🇲🇽")
kb_mx = ReplyKeyboardMarkup(resize_keyboard=True)
kb_mx.add(mx_pass, mx_bill).add(back_button)

mx_change = InlineKeyboardButton(text="Изменить", callback_data="mx_change")
mx_exit = InlineKeyboardButton(text="Выйти", callback_data="mx_exit")
kb_mx_change_error = InlineKeyboardMarkup(row_width=1)
kb_mx_change_error.add(uk_change, uk_exit)

mx_change_fam_bill = InlineKeyboardButton(
    text="Фамилия", callback_data="mx_change_bill_family"
)
mx_change_name_bill = InlineKeyboardButton(
    text="Имя", callback_data="mx_change_bill_name"
)
mx_change_bill_flate_number = InlineKeyboardButton(
    text="Номер дома", callback_data="mx_change_bill_flate_number"
)
mx_change_bill_street = InlineKeyboardButton(
    text="Улица", callback_data="mx_change_bill_street"
)
mx_change_name_bill_city = InlineKeyboardButton(
    text="Город", callback_data="mx_change_name_bill_city"
)
mx_change_bill_postcode = InlineKeyboardButton(
    text="Посткод", callback_data="mx_change_bill_postcode"
)
kb_mx_change_go_bill = InlineKeyboardMarkup(row_width=1)
kb_mx_change_go_bill.add(
    mx_change_fam_bill,
    mx_change_name_bill,
    mx_change_bill_flate_number,
    mx_change_bill_street,
    mx_change_name_bill_city,
    mx_change_bill_postcode,
)


###########bill Germany
Germany_id = KeyboardButton("ID 🇩🇪")
Germany_bill = KeyboardButton("BILL 🇩🇪")
kb_de = ReplyKeyboardMarkup(resize_keyboard=True)
kb_de.insert(Germany_id).insert(Germany_bill).row(back_button)


de_pay_bill = InlineKeyboardButton(text="Получить", callback_data="de_pay_bill")
de_change_bill = InlineKeyboardButton(text="Изменить", callback_data="de_change_bill")
de_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="de_exit_bill")
kb_de_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_de_finish_bill.add(de_pay_bill, de_change_bill, de_exit_bill)

de_pay_id = InlineKeyboardButton(text="Получить", callback_data="de_pay_id")
de_change_id = InlineKeyboardButton(text="Изменить", callback_data="de_change_id")
de_exit_id = InlineKeyboardButton(text="Выйти", callback_data="de_exit_id")
kb_de_finish_id = InlineKeyboardMarkup(row_width=1)
kb_de_finish_id.add(de_pay_id, de_change_id, de_exit_id)


de_change = InlineKeyboardButton(text="Изменить", callback_data="de_change")
de_exit = InlineKeyboardButton(text="Выйти", callback_data="de_exit")
kb_de_change_error = InlineKeyboardMarkup(row_width=1)
kb_de_change_error.add(de_change, de_exit)


# Кнопки временные фигма не готова еще
de_change_fam_bill = InlineKeyboardButton(
    text="Фамилия", callback_data="de_change_bill_family"
)
de_change_name_bill = InlineKeyboardButton(
    text="Имя", callback_data="de_change_bill_name"
)
de_change_bill_flate_number = InlineKeyboardButton(
    text="Номер дома", callback_data="de_change_bill_flate_number"
)
de_change_bill_street = InlineKeyboardButton(
    text="Улица", callback_data="de_change_bill_street"
)
de_change_name_bill_city = InlineKeyboardButton(
    text="Город", callback_data="de_change_name_bill_city"
)
de_change_bill_postcode = InlineKeyboardButton(
    text="Посткод", callback_data="de_change_bill_postcode"
)
kb_de_change_go_bill = InlineKeyboardMarkup(row_width=1)
kb_de_change_go_bill.add(
    de_change_fam_bill,
    de_change_name_bill,
    de_change_bill_flate_number,
    de_change_bill_street,
    de_change_name_bill_city,
    de_change_bill_postcode,
)

# Kazakhstan
kz_back = KeyboardButton("Назад ◀️")
kz_skip = KeyboardButton("Пропустить")

kz_passport = KeyboardButton("PASS 🇰🇿")
kz_id_new = KeyboardButton("ID NEW 🇰🇿")
kz_id_old = KeyboardButton("ID OLD 🇰🇿")
kb_kz = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz.add(kz_passport, kz_id_new, kz_id_old, kz_back)

kb_kz_name = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_name.add(kz_back)

kb_kz_name_en = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_name_en.add(kz_back)

kb_kz_last_name = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_last_name.add(kz_back)

kb_kz_last_name_en = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_last_name_en.add(kz_back)

kb_kz_date_of_birth = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_date_of_birth.add(kz_back)

kb_kz_place_of_birth = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_russia = KeyboardButton("RUSSIA")
kz_ukraine = KeyboardButton("UKRAINE")
kz_kazakhstan = KeyboardButton("KAZAKHSTAN")
kz_belarus = KeyboardButton("BELARUS")
kb_kz_place_of_birth.add(kz_russia, kz_ukraine, kz_kazakhstan, kz_belarus, kz_back)

kb_kz_sex = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_male = KeyboardButton("Мужской 🙎🏻‍♂️")
kz_female = KeyboardButton("Женский 🙍🏻‍♀️")
kb_kz_sex.add(kz_male, kz_female, kz_back)

kb_kz_nationality_m = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_m_ru = KeyboardButton("ОРЫС / РУССКИЙ")
kz_m_ua = KeyboardButton("УКРАИН / УКРАИНЕЦ")
kz_m_kz = KeyboardButton("ҚАЗАҚ / КАЗАХ")
kz_m_by = KeyboardButton("БЕЛОРУС / БЕЛОРУС")
kb_kz_nationality_m.add(kz_m_ru, kz_m_ua, kz_m_kz, kz_m_by, kz_back)

kb_kz_nationality_f = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_f_ru = KeyboardButton("ОРЫС / РУССКАЯ")
kz_f_ua = KeyboardButton("УКРАИН / УКРАИНКА")
kz_f_kz = KeyboardButton("ҚАЗАҚ / КАЗАШКА")
kz_f_by = KeyboardButton("БЕЛОРУС / БЕЛОРУСКА")
kb_kz_nationality_f.add(kz_f_ru, kz_f_ua, kz_f_kz, kz_f_by, kz_back)

kb_kz_authority = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_authority = KeyboardButton("MINISTRY OF INTERNAL AFFAIRS")
kb_kz_authority.add(kz_authority, kz_back)

kb_kz_issue_date = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_issue_date.add(kz_back)

kb_kz_pass_number = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
generate_kz_pass_number = KeyboardButton("Сгенерировать")
kb_kz_pass_number.add(generate_kz_pass_number).add(kz_back)

kb_kz_jsn = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
generate_jsn = KeyboardButton("Сгенерировать")
kb_kz_jsn.add(generate_jsn).add(kz_back)

kb_kz_signature = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_sign1 = KeyboardButton("1")
kz_sign2 = KeyboardButton("2")
kz_sign3 = KeyboardButton("3")
kz_sign4 = KeyboardButton("4")
kz_sign5 = KeyboardButton("5")
kz_sign6 = KeyboardButton("6")
kb_kz_signature.add(kz_sign1, kz_sign2, kz_sign3, kz_sign4, kz_sign5, kz_sign6, kz_back)

kb_kz_pass_size = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_a4 = KeyboardButton("📃 На листе А4")
kz_doc = KeyboardButton("🪪 В размер документа")
kz_bg = KeyboardButton("🖼 На фоне")
kb_kz_pass_size.add(kz_a4, kz_doc, kz_bg, kz_back)

kz_pay = InlineKeyboardButton(text="Получить", callback_data="kz_pay_pass")
kz_change = InlineKeyboardButton(text="Изменить", callback_data="kz_change_pass")
kz_exit = InlineKeyboardButton(text="Выйти", callback_data="kz_exit_pass")
kb_kz_finish = InlineKeyboardMarkup(row_width=1)
kb_kz_finish.add(kz_pay, kz_change, kz_exit)

# Kazakhstan ID new

kb_kz_id_language = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_rus_lang = KeyboardButton("РУССКИЙ")
kz_kaz_lang = KeyboardButton("КАЗАХСКИЙ")
kb_kz_id_language.add(kz_rus_lang, kz_kaz_lang, kz_back)

kb_kz_middle_name = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_middle_name.add(kz_skip, kz_back)

kb_kz_place_of_birth_id_new_ru = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
kb_kz_place_of_birth_1_ru = "ПАВЛОДАРСКАЯ ОБЛ."
kb_kz_place_of_birth_2_ru = "АСТАНА ОБЛ."
kb_kz_place_of_birth_id_new_ru.add(
    kb_kz_place_of_birth_1_ru, kb_kz_place_of_birth_2_ru, kz_back
)

kb_kz_place_of_birth_id_new_kz = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
kb_kz_place_of_birth_id_new_kz.add(kz_back)


kb_kz_nationality_ru = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_nationality_1_ru = "КАЗАХ"
kb_kz_nationality_ru.add(kz_nationality_1_ru, kz_back)

kb_kz_nationality_kz = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_kz_nationality_kz.add(kz_back)

id_nationality_ru = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
id_nationality_1_ru = "РУССКИЙ"
id_nationality_2_ru = "КАЗАХ"
id_nationality_ru.add(id_nationality_1_ru, id_nationality_2_ru, kz_back)

id_nationality_kz = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
id_nationality_1_kz = "ОРЫС"
id_nationality_2_kz = "ҚАЗАҚ"
id_nationality_kz.add(id_nationality_1_kz, id_nationality_2_kz, kz_back)


kb_kz_id_new_number = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
generate_id_new_number = "Сгенерировать"
kb_kz_id_new_number.add(generate_id_new_number).add(kz_back)

kz_id_new_pay = InlineKeyboardButton(text="Получить", callback_data="kz_pay_id_new")
kz_id_new_change = InlineKeyboardButton(
    text="Изменить", callback_data="kz_change_id_new"
)
kz_id_new_exit = InlineKeyboardButton(text="Выйти", callback_data="kz_exit_id_new")
kb_kz_id_new_finish = InlineKeyboardMarkup(row_width=1)
kb_kz_id_new_finish.add(kz_id_new_pay, kz_id_new_change, kz_id_new_exit)

kb_kz_size = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kz_a4 = KeyboardButton("📃 На листе А4")
kz_doc = KeyboardButton("🪪 В размер документа")
kb_kz_size.add(kz_a4, kz_doc, kz_back)

# Kazakhstan ID old
kz_id_old_pay = InlineKeyboardButton(text="Получить", callback_data="kz_pay_id_old")
kz_id_old_change = InlineKeyboardButton(
    text="Изменить", callback_data="kz_change_id_old"
)
kz_id_old_exit = InlineKeyboardButton(text="Выйти", callback_data="kz_exit_id_old")
kb_kz_id_old_finish = InlineKeyboardMarkup(row_width=1)
kb_kz_id_old_finish.add(kz_id_old_pay, kz_id_old_change, kz_id_old_exit)


# ESTONIA
estonia_id = KeyboardButton("ID 🇪🇪")
estonia_bill = KeyboardButton("BILL 🇪🇪")
kb_est = ReplyKeyboardMarkup(resize_keyboard=True)
kb_est.add(estonia_id, estonia_bill).row(back_button)

est_pay_id = InlineKeyboardButton(text="Получить", callback_data="est_pay_id")
est_change_id = InlineKeyboardButton(text="Изменить", callback_data="est_change_id")
est_exit_id = InlineKeyboardButton(text="Выйти", callback_data="est_exit_id")
kb_est_finish_id = InlineKeyboardMarkup(row_width=1)
kb_est_finish_id.add(est_pay_id, est_change_id, est_exit_id)

est_pay_bill = InlineKeyboardButton(text="Получить", callback_data="est_pay_bill")
est_change_bill = InlineKeyboardButton(text="Изменить", callback_data="est_change_bill")
est_exit_bill = InlineKeyboardButton(text="Выйти", callback_data="est_exit_bill")
kb_est_finish_bill = InlineKeyboardMarkup(row_width=1)
kb_est_finish_bill.add(est_pay_bill, est_change_bill, est_exit_bill)


# Argentina ID
ar_back = KeyboardButton("Назад ◀️")
kb_ar_back = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_ar_back.add(ar_back)

ar_pass = KeyboardButton("PASS 🇦🇷")
ar_id = KeyboardButton("ID 🇦🇷")
kb_ar = ReplyKeyboardMarkup(resize_keyboard=True)
kb_ar.add(ar_pass, ar_id, ar_back)

kb_ar_id_name = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_ar_id_name.add(ar_back)

kb_ar_id_last_name = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_ar_id_last_name.add(ar_back)

kb_ar_id_date_of_birth = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
kb_ar_id_date_of_birth.add(ar_back)

kb_ar_id_sex = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
ar_male = KeyboardButton("Мужской 🙎🏻‍♂️")
ar_female = KeyboardButton("Женский 🙍🏻‍♀️")
kb_ar_id_sex.add(ar_male, ar_female, ar_back)

kb_ar_id_issue_date = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_ar_id_issue_date.add(ar_back)

kb_ar_id_dni_number = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
generate_dni_number = "Сгенерировать"
kb_ar_id_dni_number.add(generate_dni_number).add(ar_back)

kb_ar_id_procedure_number = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
generate_procedure_number = "Сгенерировать"
kb_ar_id_procedure_number.add(generate_procedure_number).add(ar_back)

kb_ar_id_blank_number = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
generate_blank_number = "Сгенерировать"
kb_ar_id_blank_number.add(generate_blank_number).add(ar_back)

kb_ar_id_donation = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
ar_si = KeyboardButton("SI")
ar_no = KeyboardButton("NO")
kb_ar_id_donation.add(ar_si, ar_no, ar_back)

kb_ar_id_ejemplar = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
ar_ej_a = KeyboardButton("A")
ar_ej_c = KeyboardButton("C")
ar_ej_d = KeyboardButton("D")
kb_ar_id_ejemplar.add(ar_ej_a, ar_ej_c, ar_ej_d, ar_back)

kb_ar_id_addres = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
kb_ar_id_addres.add(kz_back)

kb_ar_id_place_of_birth = ReplyKeyboardMarkup(
    resize_keyboard=True, one_time_keyboard=True
)
kb_ar_id_place_of_birth.add(kz_back)

kb_ar_id_fingerprint = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
fingerprint_random = "Сгенерировать"
fingerprint_load = "Загрузить"
kb_ar_id_fingerprint.add(fingerprint_random, fingerprint_load, ar_back)

kb_ar_id_size = ReplyKeyboardMarkup(resize_keyboard=True, one_time_keyboard=True)
ar_a4 = KeyboardButton("📃На листе А4")
ar_doc = KeyboardButton("🪪В размер документа")
kb_ar_id_size.add(ar_a4, ar_doc, ar_back)

ar_id_pay = InlineKeyboardButton(text="Получить", callback_data="ar_pay_id")
ar_id_change = InlineKeyboardButton(text="Изменить", callback_data="ar_change_id")
ar_id_exit = InlineKeyboardButton(text="Выйти", callback_data="ar_exit_id")
kb_ar_id_finish = InlineKeyboardMarkup(row_width=1)
kb_ar_id_finish.add(ar_id_pay, ar_id_change, ar_id_exit)
